home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Go64!
/
Go64_2000-01_2000_CSW_Side_A.d64
/
src_mult+hi char
< prev
next >
Wrap
Text File
|
2023-02-26
|
2KB
|
63 lines
*= $0810
lda #$00 ;farbe schwarz
sta $0286 ;in cursorfarbe,
sta $d020 ;rahmenfarbe,
sta $d021 ;und hintergrund
jsr $e544 ;clr-routine(rom)
lda #$18 ;videoram:$0400
sta $d018 ;charset: $2000
lda $d016 ;
ora #$10 ;multicolor an
sta $d016 ;
lda #$0e ;farbe hellblau
sta $d022 ;als multicolor 1
lda #$0f ;farbe hellgrau
sta $d023 ;als multicolor 2
ldx #$11 ;16 werte (+1)
copy lda charset,x ;aus tabelle
sta $1fff,x ;in zeichensatz-1
dex ;(screencode 0&1)
bne copy
ldx #$00
screen lda #$00 ;screencode 0
sta $0400,x
lda #$01 ;screencode 1
sta $0401,x
lda #$0e ;farbe 6(+bit 3)
sta $d800,x ;in colorram
lda #$06 ;farbe 6 (kein
sta $d801,x ;bit 3) in cram
inx
inx
cpx #$28 ;schon 40 zeichen?
bne screen ;spring wenn nicht
rts ;ende
;-- zeichensatztabelle --
charset .byte 0
.byte %11011011 ;hex = $db
.byte %00110000 ;hex = $30
.byte %11011011 ;hex = $db
.byte %00110000 ;hex = $30
.byte %11100111 ;hex = $e7
.byte %00001100 ;hex = $0c
.byte %11100111 ;hex = $e7
.byte %00001100 ;hex = $0c
.byte %00110101 ;hex = $35
.byte %01100000 ;hex = $60
.byte %11000111 ;hex = $c7
.byte %10001100 ;hex = $8c
.byte %01001100 ;hex = $4c
.byte %10000100 ;hex = $84
.byte %01100110 ;hex = $66
.byte %00111100 ;hex = $3c